package com.roadjava.javaweb.student.service.impl;

import com.roadjava.javaweb.student.beans.entity.AdminDO;
import com.roadjava.javaweb.student.dao.AdminDao;
import com.roadjava.javaweb.student.dao.impl.AdminDaoImpl;
import com.roadjava.javaweb.student.service.AdminService;


public class AdminServiceImpl implements AdminService {
    private AdminDao adminDao = new AdminDaoImpl();
    @Override
    public AdminDO validateLogin(String userName) {
        return adminDao.validateLogin(userName);
    }
}
